package com.water.mapper;

import com.water.vo.NoticeVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface NoticeMapper {

   @Select("SELECT * FROM notifications ORDER BY sentDate DESC")
    List<NoticeVo> getInfo();


}
